package com.eastfair.home.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.home.dto.ReportServiceAuditHistoryDTO;
import com.eastfair.home.entity.ReportServiceAuditHistory;
import com.eastfair.home.vo.ReportServiceAuditHistoryVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 报馆服务审核记录历史
 * </p>
 *
 * @author linan
 * @date 2022-08-08
 */
public interface ReportServiceAuditHistoryService extends SuperService<ReportServiceAuditHistory> {
    /**
     * do转vo
     *
     * @param model
     */
    ReportServiceAuditHistoryVO doToVo(ReportServiceAuditHistory model);

    /**
     * do转vo
     *
     * @param modelList
     */
    List<ReportServiceAuditHistoryVO> doToVos(List<ReportServiceAuditHistory> modelList);


    /**
     * 通用查询
     *
     * @param modelDTO DTO
     * @param ids      主键id集合
     * @return list
     */
    List<ReportServiceAuditHistory> list(ReportServiceAuditHistoryDTO modelDTO, List<Long> ids);

    /**
     * 通用查询
     *
     * @param modelDTO DTO
     * @param ids      主键id集合
     * @return list
     */
    List<ReportServiceAuditHistory> listOfCache(ReportServiceAuditHistoryDTO modelDTO, List<Long> ids);

    /**
     * 服务审核历史查询
     * @param reportServiceAuditHistoryDTO reportServiceAuditHistoryDTO
     * @return List<ReportServiceAuditHistoryVO>
     */
    List<ReportServiceAuditHistoryVO> queryReportServiceAuditHistory(ReportServiceAuditHistoryDTO reportServiceAuditHistoryDTO);
}
